import React from 'react';
import Form, { formType } from './form';
import Item, { itemType } from './item';

type FromComponentType = React.FC<formType> & {
  Item?: React.FC<itemType>;
};

let FromComponent: FromComponentType = Form;
FromComponent.Item = Item;

export default FromComponent;
